use lsp_types::notification::Notification;
use lsp_types::request::Request;

/// <https://github.com/microsoft/language-server-protocol/issues/1002>
pub enum ParentModule {}

impl Request for ParentModule {
    type Params = lsp_types::TextDocumentPositionParams;
    type Result = Option<lsp_types::GotoDefinitionResponse>;
    const METHOD: &'static str = "experimental/parentModule";
}

pub enum ReloadFlake {}

impl Notification for ReloadFlake {
    type Params = ();
    const METHOD: &'static str = "nil/reloadFlake";
}
